package com.pinda.service;

import com.pinda.oms.entity.vo.Order_OrderCargoVo;
import com.pinda.users.entity.PdAddressBook;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.bind.annotation.RequestBody;

import java.text.ParseException;
import java.util.List;

/**
 * <p>
 * 地址簿 服务类
 * </p>
 *
 * @author lc
 * @since 2023-06-14
 */
public interface IPdAddressBookService extends IService<PdAddressBook> {
    public List<PdAddressBook> getByUserId(String id)throws Exception;

    public boolean saveAddressBook(PdAddressBook pdAddressBook);

    public boolean updateAddressBook(PdAddressBook pdAddressBook);

    public boolean saveOrder(Order_OrderCargoVo orderOrderCargoVo) throws ParseException;
}
